.class Lcom/donson/momark/view/view/V;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/donson/momark/view/view/n;


# direct methods
.method constructor <init>(Lcom/donson/momark/view/view/n;)V
    .locals 0

    iput-object p1, p0, Lcom/donson/momark/view/view/V;->a:Lcom/donson/momark/view/view/n;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 3

    iget-object v0, p0, Lcom/donson/momark/view/view/V;->a:Lcom/donson/momark/view/view/n;

    invoke-static {v0}, Lcom/donson/momark/view/view/n;->d(Lcom/donson/momark/view/view/n;)Landroid/webkit/WebView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/webkit/WebView;->canGoForward()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/donson/momark/view/view/V;->a:Lcom/donson/momark/view/view/n;

    invoke-static {v0}, Lcom/donson/momark/view/view/n;->g(Lcom/donson/momark/view/view/n;)Landroid/widget/ImageView;

    move-result-object v0

    iget-object v1, p0, Lcom/donson/momark/view/view/V;->a:Lcom/donson/momark/view/view/n;

    invoke-static {v1}, Lcom/donson/momark/view/view/n;->a(Lcom/donson/momark/view/view/n;)Landroid/content/Context;

    move-result-object v1

    const-string v2, "momark_next.png"

    invoke-static {v1, v2}, Lcom/donson/momark/util/a;->a(Landroid/content/Context;Ljava/lang/String;)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    :goto_0
    iget-object v0, p0, Lcom/donson/momark/view/view/V;->a:Lcom/donson/momark/view/view/n;

    invoke-static {v0}, Lcom/donson/momark/view/view/n;->d(Lcom/donson/momark/view/view/n;)Landroid/webkit/WebView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/webkit/WebView;->canGoBack()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/donson/momark/view/view/V;->a:Lcom/donson/momark/view/view/n;

    invoke-static {v0}, Lcom/donson/momark/view/view/n;->h(Lcom/donson/momark/view/view/n;)Landroid/widget/ImageView;

    move-result-object v0

    iget-object v1, p0, Lcom/donson/momark/view/view/V;->a:Lcom/donson/momark/view/view/n;

    invoke-static {v1}, Lcom/donson/momark/view/view/n;->a(Lcom/donson/momark/view/view/n;)Landroid/content/Context;

    move-result-object v1

    const-string v2, "momark_preview.png"

    invoke-static {v1, v2}, Lcom/donson/momark/util/a;->a(Landroid/content/Context;Ljava/lang/String;)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    :goto_1
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/donson/momark/view/view/V;->a:Lcom/donson/momark/view/view/n;

    invoke-static {v0}, Lcom/donson/momark/view/view/n;->g(Lcom/donson/momark/view/view/n;)Landroid/widget/ImageView;

    move-result-object v0

    iget-object v1, p0, Lcom/donson/momark/view/view/V;->a:Lcom/donson/momark/view/view/n;

    invoke-static {v1}, Lcom/donson/momark/view/view/n;->a(Lcom/donson/momark/view/view/n;)Landroid/content/Context;

    move-result-object v1

    const-string v2, "momark_next2.png"

    invoke-static {v1, v2}, Lcom/donson/momark/util/a;->a(Landroid/content/Context;Ljava/lang/String;)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/donson/momark/view/view/V;->a:Lcom/donson/momark/view/view/n;

    invoke-static {v0}, Lcom/donson/momark/view/view/n;->h(Lcom/donson/momark/view/view/n;)Landroid/widget/ImageView;

    move-result-object v0

    iget-object v1, p0, Lcom/donson/momark/view/view/V;->a:Lcom/donson/momark/view/view/n;

    invoke-static {v1}, Lcom/donson/momark/view/view/n;->a(Lcom/donson/momark/view/view/n;)Landroid/content/Context;

    move-result-object v1

    const-string v2, "momark_preview2.png"

    invoke-static {v1, v2}, Lcom/donson/momark/util/a;->a(Landroid/content/Context;Ljava/lang/String;)Landroid/graphics/Bitmap;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    goto :goto_1
.end method
